package com.example.cupid.mapper;

import com.example.cupid.pojo.Admin;
import com.example.cupid.pojo.User;

import java.sql.Date;
import java.util.List;

/**
 * 2021/9/19
 **/
public interface AdminMapper {
    Admin selectAdmin(String email, String password);

    int selectUserCount(Date date);
    int selectUserCountYd(Date dateYd);

    List<Integer> selectUserId();
    List<User> selectUserByPayDesc();
    User selectUserById(Integer id);

    boolean updatePayMoney(Double money,Integer id);
}
